package com.wxhandle.cleandemo.application.services;

import java.util.List;

import com.wxhandle.cleandemo.core.domain.identity.SysClaim;
import com.wxhandle.cleandemo.core.services.SysClaimService;
import com.wxhandle.cleandemo.persistence.repositorys.identity.SysClaimRepository;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;

@Service
public class SysClaimServiceImpl extends DomainServiceImpl<SysClaim, String> implements SysClaimService{

    @Lazy
    @Autowired
    private SysClaimRepository sysClaimRepository;

    @Override
    public List<SysClaim> getAll() {
        return sysClaimRepository.findAll();
    }
    
}
